<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style> div{width: 200px;
    height: 200px;
    background-color: aqua;
    /* 溢出部分隐藏 */
    overflow: hidden; 
    /* 滚动条 内容不够也有滚动条样式    */
    overflow: scroll;
    /* 自动显示滚动条 */
    overflow: auto;
    }
    </style>
   
</head>
<body>
    <div>
        56432132415646460 564321
        32415646460
        56432132415646460 56432132415646460 56432132415646460
        56432132415646460 56432132415646460
        56432132415646460 56432132415646460
        56432132415646460 56432132415646460
        56432132415646460 56432132415646460
        56432132415646460 56432132415646460
        56432132415646460 56432132415646460
        56432132415646460 56432132415646460
        56432132415646460 56432132415646460

    </div>
    
</body>
</html>